import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
let router = new VueRouter({
    // mode: 'history',
    scrollBehavior() {
        return {
            x: 0,
            y: 0
        }
    },
    routes: [
        {
            path: '/',
            name: 'index',
            component: () => import('../views/index.vue'),
            meta: {
                needCatid: true
            }
        },
    ]
})
export default router